14.2.11 REST Request Updated notification
The REST Request Updated event sends a notification to a REST web service when an Issue Card request is updated in MyID.
This notification is triggered when the Issue Card request reaches one of the following statuses:
-
Cancelled
-
AutoDisabled
-
Await Bureau
-
Cancelled
-
Completed
-
Completed With Errors
-
Created
-
Failed
-
In Progress
-
In Transit
-
Suspended
If you configure an external system with the name REST Request Updated and specify the corresponding mapping file RESTRequestUpdated.xml, you can configure MyID to respond to the event with the following.
14.2.11.1 Endpoint
PATCH /request/{Requests.ObjectID}/requestUpdated
14.2.11.2 Data
{
"request": {
"target": {
"id": "<object ID of the target of the request>",
"name": "<target name>",
"logonName": "<target logon name>"
},
"task": {
"desc": "IssueCard"
},
"id": "<object ID of the request>",
"initiationDate": "<date the request was created>",
"status": "<request status>",
"credProfile": {
"id": "<object ID of the credential profile>",
"name": "<credential profile name>"
}
}
}
14.2.11.3 Expected response
A 200 OK response in the event of success.